package com.likersai.opon.scene.cultivation.entity;

import com.likersai.opon.pojo.bo.EntityBO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.sql.Date;


/**
 * @author LikerSai
 * @since 2024-01-12 03:33
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@Table(name = "figure_base_info", schema = "opon")
public class FigureBaseInfo extends EntityBO {

    @Basic
    @Column(name = "surname")
    private String surname;
    @Basic
    @Column(name = "given_name")
    private String givenName;
    @Basic
    @Column(name = "birthday")
    private Date birthday;
    @Basic
    @Column(name = "sex",length = 1)
    private String sex;
    
}